package com.yiaohuer.convert;

import com.yiaohuer.VO.CampusVO;
import com.yiaohuer.entity.Campus;
import org.apache.ibatis.annotations.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface CampusConverter {

    CampusConverter INSTANCE = Mappers.getMapper(CampusConverter.class);

    Campus convertToVO(Campus subjectInfoBO);


    List<CampusVO> convertListToVO(List<Campus> campusList);

}
